{% load people_tags %}
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>二中队人员管理</title>
    <link rel="stylesheet" href="{% static 'css/people.css' %}">
</head>
<body>
    <div class="top"><p>二中队共计{% total_people %}人，其中
            {% for case in cases %}
                {{ case.name }}{% peopleofcase case.id %}人
                {% if not forloop.last %}，{% endif %} 
                {% if forloop.last %}。{% endif %} 
            {% endfor %}具体如下：
        </p></div>
    <div class="down">
        <div class="case">
            {% for case in cases %}
                <div class="onecase">
                    <h3>{{ case.name }}{% peopleofcase case.id %}人</h3>
                    {% casepeople case.id %}
                </div>
            {% endfor %}
            <div class="clear"></div>
        </div>
    </div>
</body>
</html>
